<?php
include "../../Reportes/config.php";
include "../../Reportes/conexion.php";

$id_invitado = $_REQUEST["id_invitado"];
$id_pago = $_REQUEST["id_pago"];

$sql = "update invitado set id_pago = $id_pago where id = ".$id_invitado;

		$q = $dbh->prepare($sql);
		$q->execute();
		
	echo $sql;